$primary: #409eff;
$background: #f5f7fa;
$border: #ebeef5;

.el-table {
  th.el-table__cell {
    padding: 10px 0;
    color: #3a3a3a;
    background-color: $background;
  }
}

.base_main_header {
  text-align: right;
  margin-top: 15px;
  margin-bottom: 10px;
}

.base_screen_header {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  margin-bottom: 20px;
  .el-header {
    height: 37px;
  }
  .el-page-header__breadcrumb {
    margin-bottom: 0;
  }
  .el-page-header {
    height: 37px;
  }
  .el-page-header__header {
    line-height: 30px;
  }
}

.base_main_content {
  padding: 20px;
}

.base_search_form {
  .el-form-item {
    margin: 0 0 5px 10px;
  }
}

.base_details_container {
  height: 100%;

  .el-header {
    display: flex;
    align-items: center;
    padding-left: 10px;
    border-bottom: solid 1px var(--el-border-color);
    .el-page-header {
      height: 60px;
    }
  }

  .el-main {
    overflow: hidden;
  }

  .el-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--el-box-shadow-dark);

    .el-button:not(:first-child) {
      margin-left: 10px;
    }
  }
}

.base_details_title {
  border-left: 5px solid $primary;
  padding: 5px 15px;
  margin: 20px 0;
  b {
    &::after {
      content: "*";
      font-size: 14px;
      font-weight: 500;
      color: var(--el-color-danger);
      margin-left: 4px;
      top: 0;
    }
  }
}
.base_details_content_second {
  padding: 0 25px;
  margin-bottom: 30px;
  // border-radius: 8px;
  // box-shadow: var(--el-box-shadow-lighter);
}

.base_details_title_button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  b {
    &::after {
      content: "*";
      font-size: 14px;
      font-weight: 500;
      color: var(--el-color-danger);
      margin-left: 4px;
      top: 0;
    }
  }
  .tb_title {
    border-left: 5px solid $primary;
    padding: 5px 15px;
    margin: 20px 0;
  }
}

.base_details_tabs {
  height: 100%;
  --el-tabs-header-height: 60px;
  border: none;
  .el-tabs__header {
    margin: 0;
  }

  .el-badge__content.is-fixed.is-dot {
    right: 0;
    top: 10px;
  }

  .el-tabs__content {
    height: calc(100% - 60px);
    overflow: auto;
    margin: 0;
    padding: 0;

    .content {
      padding: 0 20px 20px 20px;
    }
  }
}

.base_details_content {
  height: 100%;
  overflow: auto;
  margin: 0;
  padding: 0;

  .content {
    padding: 0 20px 20px 20px;
  }
}

.base_details_form {
  .el-upload,
  .el-textarea,
  .el-select,
  .el-input {
    width: 350px;
  }

  .el-input-number {
    .el-input {
      width: 100%;
    }
  }

  .base_details_date_picker {
    .el-date-editor.el-input,
    .el-date-editor.el-input__wrapper {
      width: 330px !important;
    }
  }
  
}

.base_dialog {
  .el-dialog__body {
    padding-top: 10px;
    padding-bottom: 0;

    .el-select {
      width: 100% !important;
    }

    .el-date-editor.el-input,
    .el-date-editor.el-input__wrapper,
    .el-input__wrapper {
      width: calc(100% - 10px);
    }
  }

  .el-dialog__footer {
    text-align: center;

    .el-button:not(:first-child) {
      margin-left: 10px;
    }
  }
}

.base_drawer {
  .el-drawer__header {
    margin-bottom: 15px;
  }
  .el-drawer__body {
    padding-top: 0;
  }
  .el-drawer__footer {
    padding: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--el-box-shadow-dark);

    .el-button:not(:first-child) {
      margin-left: 10px;
    }
  }
}

.base_descriptions_one {
  .el-descriptions__cell {
    display: flex;
    align-items: center;
  }
  .el-descriptions__label {
    width: 100px;
    text-align: right;
    margin-right: 20px;
    font-weight: bold;
  }
  .el-image {
    width: 100px;
    height: 100px;
    img {
      border-radius: 50%;
    }
  }
}

.base_descriptions_three {
  .el-descriptions__cell {
    width: 33%;
    
  }
}

.base_main_margin_top {
  margin-top: 20px;
}

.el-input-number {
  width: 100%;
  max-width: 150px;
}

